package com.marvels.system.common.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.marvels.common.dao.UserRechargeLogDao;
import com.marvels.common.dto.UserRechargeLogDTO;
import com.marvels.system.common.service.UserRechargeLogService;

@Service
public class UserRechargeLogServiceImpl implements UserRechargeLogService {
	
	@Autowired
	private UserRechargeLogDao userRechargeLogDao;
	
	@Override
	public List<UserRechargeLogDTO> selectUserRechargeLogList() {
		return userRechargeLogDao.selectUserRechargeLogList();
	}

	@Override
	public UserRechargeLogDTO updateUserRechargeLog(UserRechargeLogDTO param) {
		userRechargeLogDao.updateUserRechargeLog(param);
		UserRechargeLogDTO result = userRechargeLogDao.selectUserRechargeLog();
		return result;
	}

}
